package self.hoy.demo.grainmall.product.mapper;

import org.apache.ibatis.annotations.Param;
import self.hoy.demo.grainmall.product.entity.AttrGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import self.hoy.demo.grainmall.product.vo.SpuItemAttrGroupVo;

import java.util.List;

/**
 * 属性分组
 * 
 * @author Hoy
 * @email xxx@gmail.com
 * @date 2020-07-04 19:01:00
 */
@Mapper
public interface AttrGroupMapper extends BaseMapper<AttrGroup> {

    List<SpuItemAttrGroupVo> getAttrGroup(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
